<template>
  <div>
    <div class="footer_wrap">
      <!-- <a href="#/find">发现音乐</a>
      <a href="#/my">我的音乐</a>
      <a href="#/part">朋友</a> -->
      <router-link to="/myfind">发现音乐</router-link>
      <router-link to="/mymusic">我的音乐</router-link>
      <router-link to="/myfriend">朋友</router-link>
    </div>
 <div class="top">
      <router-view></router-view>
</div>

  </div>
</template>

<script>
export default {
  data () {
    return {

    }
  },

  created () {

  },

  methods: {
    // sing1 () {
    //   console.log(this.$router)
    //   this.router.push('/sing1')
    // }

    // sing1 (id) {
    //   this.$router.push('/sing1/ ' + id)
    //   this.$router.push({
    //     name: 'sg',
    //     params: {
    //     }
    //   })
    // }
  }
}
</script>

<style >
.footer_wrap {
  position: fixed;
  left: 0;
  top: 0;
  display: flex;
  width: 100%;
  text-align: center;
  background-color: #333;
  color: #ccc;
  font-size: 7px;
}
.footer_wrap a {
  flex: 1;
  text-decoration: none;
  padding: 7px 0;
  line-height: 20px;
  background-color: #333;
  color: #ccc;
  border: 1px solid black;
}
.footer_wrap a:hover {
  background-color: #555;
}
.top {
  padding-top: 62px;
}
</style>
